import request from '@/utils/request'
const apix = 'dev-api'
// api地址
const api = {
	upload: apix + '/common/upload',

}
/**
 * 上传单个图片
 */
export function upload(file) {
	return request.upload(api.upload,
		file
	)
}
/**
 * 上传多个图片
 */
export function uploads(files) {
	return request.upload(api.upload,
		files
	)
}